package com.bingfor.easycablelink.account;

import android.graphics.Paint;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.bingfor.easycablelink.account.viewmodel.LoginViewModel;
import com.bingfor.easycablelink.base.BaseActivity;
import com.bingfor.easycablelink.databinding.ActivityLoginBinding;
import com.trello.rxlifecycle.components.support.RxAppCompatActivity;
/**
*登录界面
*@author LY
*@time 2017/5/17 0:04
* des:create file and achieve model
*/
public class LoginActivity extends BaseActivity {

    ActivityLoginBinding binding ;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = ActivityLoginBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        initViews();
    }

    @Override
    public void initViews() {
        binding.setViewModel(new LoginViewModel(mContext));
        binding.tvToOther.getPaint().setFlags(Paint. UNDERLINE_TEXT_FLAG );
    }

    @Override
    public void initToolbar() {

    }

    @Override
    public void refresh() {

    }



}
